<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>Appstorevn - Manage applications</title>
<link rel="shortcut icon" href="favicon.gif">
<!---CSS Files-->
<link rel="stylesheet"
	href="<?php echo base_url('src/appstore/css/master.css')?>">
<link rel="stylesheet"
	href="<?php echo base_url('src/appstore/css/tables.css')?>">
<!---jQuery Files-->
<script
	src="<?php echo base_url('src/appstore/js/jquery-1.7.1.min.js')?>"></script>
<script
	src="<?php echo base_url('src/appstore/js/jquery-ui-1.8.17.min.js')?>"></script>
<script src="<?php echo base_url('src/appstore/js/styler.js')?>"></script>
<script src="<?php echo base_url('src/appstore/js/jquery.tipTip.js')?>"></script>
<script src="<?php echo base_url('src/appstore/js/colorpicker.js')?>"></script>
<script src="<?php echo base_url('src/appstore/js/sticky.full.js')?>"></script>
<script src="<?php echo base_url('src/appstore/js/global.js')?>"></script>
<script
	src="<?php echo base_url('src/appstore/js/flot/jquery.flot.min.js')?>"></script>
<script
	src="<?php echo base_url('src/appstore/js/flot/jquery.flot.resize.min.js')?>"></script>
<script
	src="<?php echo base_url('src/appstore/js/jquery.dataTables.min.js')?>"></script>
<!---Fonts-->
<link
	href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700'
	rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Ubuntu:500'
	rel='stylesheet' type='text/css'>
<!--[if lt IE 9]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  <![endif]-->
<!--[if lte IE 8]>
  <script language="javascript" type="text/javascript" src="<?php echo base_url('src/appstore/js/flot/excanvas.min.js')?>"></script>
  <![endif]-->
</head>
<body>

	<!--- HEADER -->

	<div class="header">
		<a href="dashboard.html"><img
			src="<?php echo base_url('src/appstore/img/logo.png')?>" alt="Logo" />
		</a>
		<div class="styler">
			<ul class="styler-show">
				<li><div id="colorSelector-top-bar"></div></li>
				<li><div id="colorSelector-box-head"></div></li>
			</ul>
		</div>
	</div>

	<div class="top-bar">
		<ul id="nav">
			<li id="user-panel"><img
				src="<?php echo base_url('src/appstore/img/nav/usr-avatar.jpg')?>"
				id="usr-avatar" alt="" />
				<div id="usr-info">
					<p id="usr-name">
						Welcome back,
						<?php echo $this->session->userdata('upname'); ?>
						.
					</p>
					<p id="usr-notif">
						You have 6 notifications. <a href="#">View</a>
					</p>
					<p>
						<a href="<?php echo site_url('admincp/logout');?>"> Log out</a>
					</p>
				</div>
			</li>
			<li><?php $this->load->view("developer/menu_navigator");?>
			</li>
		</ul>
	</div>

	<!--- CONTENT AREA -->

	<div class="content container_12">
		<?php if($this->router->fetch_method() == 'sales_report'):?>
		<?php $this->load->view("developer/sales_report");?>
		<?php endif;?>
		<?php if($this->router->fetch_method() == 'manage_apps'):?>
		<?php $this->load->view("developer/manage_apps");?>
		<?php endif;?>
		<?php if($this->router->fetch_method() == 'manage_profile'):?>
		<?php $this->load->view("developer/manage_profile");?>
		<?php endif;?>
		<?php if($this->router->fetch_method() == 'feedback'):?>
		<?php $this->load->view("developer/feedback");?>
		<?php endif;?>
		<?php if($this->router->fetch_method() == 'add_app_step_1'):?>
		<?php $this->load->view("developer/app_step_1");?>
		<?php endif;?>
		
		<?php if($this->router->fetch_method() == 'add_app_step_2'):?>
		<?php $this->load->view("developer/app_step_2");?>
		<?php endif;?>
		<?php if($this->router->fetch_method() == 'add_app_step_3'):?>
		<?php $this->load->view("developer/app_step_3");?>
		<?php endif;?>
		<?php if($this->router->fetch_method() == 'add_app_step_4'):?>
		<?php $this->load->view("developer/app_step_4");?>
		<?php endif;?>
		<?php if($this->router->fetch_method() == 'add_app_step_5'):?>
		<?php $this->load->view("developer/app_step_5");?>
		<?php endif;?>
		<?php if($this->router->fetch_method() == 'add_app_step_6'):?>
		<?php $this->load->view("developer/app_step_6");?>
		<?php endif;?>
		<?php if($this->router->fetch_method() == 'edit_app'):?>
		<?php $this->load->view("developer/edit_app");?>
		<?php endif;?>
		<?php if($this->router->fetch_method() == 'update_version'):?>
		<?php $this->load->view("developer/update_version");?>
		<?php endif;?>
	</div>

	<div class="footer">
		<p>Powered by Appstorevn Administration Interface</p>
	</div>

	<script> /* SCRIPTS */
  $(function () {
      var sin = [], cos = [];
      for (var i = 0; i < 14; i += 0.5) {
          sin.push([i, Math.sin(i)]);
          cos.push([i, Math.cos(i)]);
      }
      var plot = $.plot($("#flot-demo"),
             [ { data: sin, label: "Green", color: "#71a100"}, { data: cos, label: "Blue", color: "#308eef" } ], {
                 series: {
                     lines: { show: true },
                     points: { show: true }
                 },
                 grid: { hoverable: true },
                 yaxis: { min: -1.2, max: 1.2 }
               });
      var previousPoint = null;
      $("#flot-demo").bind("plothover", function (event, pos, item) {
          if ($("#enablePosition:checked").length > 0) {
              var str = "(" + pos.x.toFixed(2) + ", " + pos.y.toFixed(2) + ")";
              $("#hoverdata").text(str);
          }
      });
  });/* for the flot chart demo */

  $('#example').dataTable( {
      "bJQueryUI": true
  }); /* For the data tables */
</script>

</body>


</html>
